<div class="jobcat">
    <{foreach item=list from=$jobcat}>
      <table cellpadding="0" cellspacing="0" width="100%" border="0">
        <tr>
           <td class="td1"><a href="<{$config.weburl}>/?m=job&s=job_list&sid=<{$list.id}>" target="_blank"><{$list.catname}></a></td>
           <td class="td2"><a href="<{$config.weburl}>/?m=job&s=job_list&sid=<{$list.id}>" target="_blank">更多&gt;&gt;</a></td>
        </tr>
        <tr>
           <td colspan="2" class="td3">
                <{foreach item=val key=num from=$list.cat}>
                   <{if $num==0}>
                   <a href="<{$config.weburl}>/?m=job&s=job_list&cid=<{$val.id}>"><{$val.catname}></a>
                   <{else}>
                   | <a href="<{$config.weburl}>/?m=job&s=job_list&cid=<{$val.id}>"><{$val.catname}></a>
                   <{/if}>
                <{/foreach}>
           </td>
        </tr>
       </table> 
    <{/foreach}>
</div>